package com.dragon.modules.yuegou.service.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.order.PointRatioEntity;
import com.dragon.modules.yuegou.model.order.PointRatio;

/**
 * 订单积分信息 服务接口
 *
 * @author pbuilder generated
 * @date 2022-08-11 10:22:49
 * @version 2.0
 */
public interface PointRatioService extends IService<PointRatioEntity> {

    /**
     *  记录积分配比信息
     * @param orderNo
     * @param busdId
     * @param merchantId
     * @param memberId
     */
    void savePointRatio(String orderNo,String busdId,String merchantId,String memberId);


    /**
     * 根据订单号查询比例
     * @param orderNo
     * @return
     */
    PointRatio getByOrderNo(String orderNo);

}